package com.sy.dto;

import com.sy.entity.Blog;
import com.sy.entity.User;

/**
 * Description:
 * date: 2021/1/15 20:07
 *
 * @author:
 * @since JDK 1.8
 */
public class NavBlogInfo {
    /**
     * 博客
     */
    private Blog blog;
    /**
     * 该博客的创作用户
     */
    private User user;
    /**
     * 该博客的评论数量
     */
    private Long commentCount;



    public Blog getBlog() {
        return blog;
    }

    public void setBlog(Blog blog) {
        this.blog = blog;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Long getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Long commentCount) {
        this.commentCount = commentCount;
    }

    @Override
    public String toString() {
        return "NavBlogInfo{" +
                "blog=" + blog +
                ", user=" + user +
                ", commentCount=" + commentCount +
                '}';
    }
}
